﻿namespace SuperMarieApi.App.Controllers.Framework.DataAccess
{
    using System.Data;

    public class CustomDataCommand : DataCommandBase
    {
        public CustomDataCommand(string providerName, string connectionString
            , string commmandText
            , CommandType commandType
            , int commandTimeout)
            : base(providerName, connectionString)
        {
            this._dbCommand = base.CreateDbCommand();
            this._dbCommand.CommandText = commmandText;
            this._dbCommand.CommandType = commandType;
            this._dbCommand.CommandTimeout = commandTimeout;
        }
    }
}
